package com.lx.bean;

import lombok.AllArgsConstructor;


public class User {
    private Integer uId;

    private String username;

    private String password;

    private String email;

    private String nickname;

    private String image;



    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public User() {
    }

    public User(Integer uId, String username, String password, String email, String nickname, String image) {
        this.uId = uId;
        this.username = username;
        this.password = password;
        this.email = email;
        this.nickname = nickname;
        this.image = image;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getName() {
        return nickname;
    }

    public void setName(String name) {
        this.nickname = name == null ? null : name.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }
}